std::ftell

From Cppreference

< cpp | io | c
Jump to: navigation, search
Defined in header <cstdio>

long ftell( FILE *stream );

Returns the file position indicator for the file stream stream.

Parameters

stream - file stream to examine

Return value

file position indicator on success or EOF if failure occurs.

See also

fgetpos
gets the file position indicator
(function)
fseek
moves the file position indicator to a specific location in a file
(function)
fsetpos
moves the file position indicator to a specific location in a file
(function)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages